<%--
  Created by IntelliJ IDEA.
  User: 我爱陈果果
  Date: 2020/8/17
  Time: 19:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<ul class="nav ace-nav">
    <!-- #section:basics/navbar.user_menu -->
    <li class="light-blue">
        <a data-toggle="dropdown" href="#" class="dropdown-toggle">
            <img class="nav-user-photo" src="${basePath}user?method=showPic&pic=${sessionScope.user.pic}" alt="Jason's Photo" />
            <span class="user-info">
									欢迎您<br />
									${sessionScope.user.name}
								</span>

            <i class="ace-icon fa fa-caret-down"></i>
        </a>

        <ul class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
            <li>
                <a href="#">
                    <i class="ace-icon fa fa-cog"></i>
                    系统设置
                </a>
            </li>

            <li>
                <a href="${basePath}user?method=queryMe&id=${sessionScope.user.id}">
                    <i class="ace-icon fa fa-user"></i>
                    个人信息设置
                </a>
            </li>

            <li class="divider"></li>

            <li>
                <a href="${basePath}login?method=logOut">
                    <i class="ace-icon fa fa-power-off"></i>
                    登出
                </a>
            </li>
        </ul>
    </li>
    <!-- /section:basics/navbar.user_menu -->
</ul>
